Adding logout
Getting modal to dismiss