Checking
Checking
Config file changes
Worked on OAuth. Testing of the whole system is pending
Changes in the view, unnecessary break because of formatting of the view caused the if loop to break
Changes to migration so that I can support OAuth users as a seperate type of user.
Also added the default insert for the second user which was missing.
Now if a user is logged in, then he cannot see the login page.
Isset check was required so that the edit profile page won't show the
password fields if the user is OAuth user.
Changed the user helper session function to now also have user_type in
session.

Signed-off-by: Amitav Roy <reachme@amitavroy.com>
Changes in user type so that OAuth is also supported. 
Added a config to have a different view for login screen if required.
Merged controller file
Admin user cannot change role as well #12
Added the functionality for users with manage user permission to change the role of a user.
When user session was not set, the user object was still referred on pages. Ideally it should redirect to the login screen. Added the check on route's filter and also in the login page function.
Added login tpl setting so that user can easily change the tpl used for login page.
Added helper for Dropdown.
Firing the event of login instead of calling the function directly.
Handled the login event and setting session there.
Fixed the merge issue
User object isset check was not done
User configurable dashboard #13
Added a config file setting so that end user can set the dashboard where the user
will go once he logs in and other redirects.
Changed the login button text, it was Focalworks
O-Auth login button will come through configuration only
Fixed the merging conflicts and also added the documentation