Implemented a simple login mechanism with e separate login layout