Added some comments and a little logic for the user page.
Added a gitignore