Add profile page

Add a page to fill up user-profile
Bugfix: Close MySQL query

Bugfix: Close MySQL query