Write POC code for user login

Fix some worrying and change some layout