Revises logout function for user
Completes login and logout function for user
Limits a user to one vote per link