Added most functionality e.g. Login, Logout, display

Most of the work except the frontend and signup and updating the account are left, work including lgin, logout, synchronizing with models etc. is done