Implemented Login + Bugfixing