Implemented Login and adjusted UI