Addresses Issue #3. Added the ability to auto login a user when a user first registers.