user and admin layout

Finished the general layout of user.php and admin.php.