Adds logout to login view