finalizing register handler
finalizing register handler
finalizing register handler
finalizing login handler
adding logout link
implementing logout function