authentication with database
change security rules, i think i have fixed a strange problem in login page