Fixed to work Asynchronously
Working asynchronously, validate user password obtained from db