Removed rewrite rule
Fixed redirection to dashboard after login/register.