login system and main page added