code cleanup
gui improvements and user page
first_login added to model and related behaviour