Redirect user to profile page after login and register

Contains Login, Register and Logout links in base.html