Added login template functionality

Added name fields for login/registration, added a conditional template
to display link based on logged in status.