added CoreData check in login - checks if user is logged in. If so, perform segue to table view