Added basic user controller functions e.g. create, login logout.