Remove unused stuff in login