redirect after login
improved user authentication
logout function
move session helper to util package
restyling and template adjustment