Verifies user on server side