Added links to template
Can now log out
Fixed some settings