Login and Authentication

Here is my code for review during Tuesday's class. It is missing three features:

1. Proper calling of Login on button click (Currently hard coded function call)
2. Proper routing to projects page when login is complete (Talking with Mike Tuesday regarding this)
3. Proper database queries (Working with Rachel and Casey regarding this after class Tuesday)

In addition, the Client ID and Secret are not stored in the config file, but that is intentional. Currently the code is configured for offline login for testing. If you wish to change the default parameters for your tests (userName, tableId, token) then navigate to app/config/oauth.php and change the offline values. Please do not alter the other values. Since routing is not working, you can still test the session variables in your app by manually navigating to your page. Add these lines into your code to access the variables:

$yourUserNameVariable = Session::get('uid');
$yourTableIdVariable = Session::get('tableId');
$yourTokenVariable = Session::get('token');

Any other questions just let me know.

@ydeleon6 please look this code over and sign off if it looks good