Change login redirect behaviour

prompt to login with button, to avoid login loop
redirect to specific page after login if came in that way (from email
link)
tidy index and management page layout up on load.