user controller

this is the main account controller which executes functions after login.