BNY interview question

write a code for login system?