Login page and redirection to main page