Conditional Checks

Added conditional statements for when users are already logged in. User
is now alerted instead of seeing a blank page.