Add validate password function to User auth model