User redirected if logged in for login.php, register.php + Bug fix

Added checks if session exists for login.php and register.php -
redirects user to appropriate page if true

In search_add.php - checks for isTA() twice instead of checking for
isStudent()