[eluser]davidbehler[/eluser]
And by "returns to index page" you mean you are redirected to the login form? Then my guess is your login doesn't work
It's really hard to help you if the only info you give us are two short lines about some behaviour that may or may not be right. What about the code you use? Not all of it, but at least your login routine, the login check (with the redirect)...stuff like that.