Few changes in PersonDao and login

Added getting Person by login or email and added checking if
login/email matches with password during logging in