changed verify password function for user.py to new simpler version