login system working at basic level