Redirect to homepage after login (solves multiwindow problem)