Setting Global Session Variables - DefaultController

Time of Execution:  Done after completion of signup process. 
Detail: These changes are to set session variables from global UserIdentity function of Yii. 
Line 116 will get the SQL row of user with username and password.
Line 122 will reauthorize the session using the login details.