login functionality implementation started