added sessions in controller, added logout button to profile.erb and mor...

This works. However, it may be fucked up.