Login successful but it does not re-direct to target page
I have a login page where upon successful login, it's supposed to re-direct to "index.php". However, what happens is that the login page refreshes and show me a message "You have been logged in." (See PM for more details).