login fuctionality is working now