added logout and link to register in login

I put a button on the timeline and the profile page that will logout
users and return them to the login page. I also made it so you can get
to the register page from the login page