add logout function to profile
nothing really changed
update logout buttons
changed session attribute from email to id