Redirect login to main url after successful login and enable logut