Implemented simple login structure