added login system and applied UIs