{"action":"created","comment":{"url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/comments/42794473","id":42794473,"diff_hunk":"@@ -0,0 +1,72 @@\n+//\n+//  RootController.swift\n+//  SAGE\n+//\n+//  Created by Sameera Vemulapalli on 10/6/15.\n+//  Copyright © 2015 Cal Blueprint. All rights reserved.\n+//\n+\n+import UIKit\n+\n+class RootController: UIViewController {\n+    \n+    override func viewDidAppear(animated: Bool) {\n+        super.viewDidAppear(animated)\n+        self.setUpView()\n+        if LoginHelper.userIsLoggedIn() {\n+            if LoginHelper.userIsVerified() {\n+                self.pushRootTabBarController()\n+            } else {\n+                self.pushUnverifiedViewController()\n+            }\n+        } else {\n+            self.pushLoginViewController()\n+        }\n+    }\n+    \n+    func setUpView() {","path":"sage-ios/SAGE/SAGE/RootController.swift","position":27,"original_position":27,"commit_id":"b9c1a47cbec89fac4eb2ca591043061af42939ba","original_commit_id":"b9c1a47cbec89fac4eb2ca591043061af42939ba","user":{"login":"amillman","id":4883505,"avatar_url":"https://avatars.githubusercontent.com/u/4883505?v=3","gravatar_id":"","url":"https://api.github.com/users/amillman","html_url":"https://github.com/amillman","followers_url":"https://api.github.com/users/amillman/followers","following_url":"https://api.github.com/users/amillman/following{/other_user}","gists_url":"https://api.github.com/users/amillman/gists{/gist_id}","starred_url":"https://api.github.com/users/amillman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amillman/subscriptions","organizations_url":"https://api.github.com/users/amillman/orgs","repos_url":"https://api.github.com/users/amillman/repos","events_url":"https://api.github.com/users/amillman/events{/privacy}","received_events_url":"https://api.github.com/users/amillman/received_events","type":"User","site_admin":false},"body":"is this still needed? if not you can just remove this (since we arent making any network requests or anything","created_at":"2015-10-22T19:27:26Z","updated_at":"2015-10-22T19:27:26Z","html_url":"https://github.com/calblueprint/sage-mobile/pull/10#discussion_r42794473","pull_request_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/comments/42794473"},"html":{"href":"https://github.com/calblueprint/sage-mobile/pull/10#discussion_r42794473"},"pull_request":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10","id":48421882,"html_url":"https://github.com/calblueprint/sage-mobile/pull/10","diff_url":"https://github.com/calblueprint/sage-mobile/pull/10.diff","patch_url":"https://github.com/calblueprint/sage-mobile/pull/10.patch","issue_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/10","number":10,"state":"open","locked":false,"title":"Sameera/login","user":{"login":"sameerav","id":7706852,"avatar_url":"https://avatars.githubusercontent.com/u/7706852?v=3","gravatar_id":"","url":"https://api.github.com/users/sameerav","html_url":"https://github.com/sameerav","followers_url":"https://api.github.com/users/sameerav/followers","following_url":"https://api.github.com/users/sameerav/following{/other_user}","gists_url":"https://api.github.com/users/sameerav/gists{/gist_id}","starred_url":"https://api.github.com/users/sameerav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameerav/subscriptions","organizations_url":"https://api.github.com/users/sameerav/orgs","repos_url":"https://api.github.com/users/sameerav/repos","events_url":"https://api.github.com/users/sameerav/events{/privacy}","received_events_url":"https://api.github.com/users/sameerav/received_events","type":"User","site_admin":false},"body":"Login, signup, and unverified view!\r\n\r\nReview @amillman?","created_at":"2015-10-22T06:31:37Z","updated_at":"2015-10-22T19:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91c3d50aae00c8cf090dea522ebae927b914a6bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10/commits","review_comments_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10/comments","review_comment_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/10/comments","statuses_url":"https://api.github.com/repos/calblueprint/sage-mobile/statuses/b9c1a47cbec89fac4eb2ca591043061af42939ba","head":{"label":"calblueprint:sameera/login","ref":"sameera/login","sha":"b9c1a47cbec89fac4eb2ca591043061af42939ba","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":42952348,"name":"sage-mobile","full_name":"calblueprint/sage-mobile","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/sage-mobile","description":"Mobile repo for SAGE","fork":false,"url":"https://api.github.com/repos/calblueprint/sage-mobile","forks_url":"https://api.github.com/repos/calblueprint/sage-mobile/forks","keys_url":"https://api.github.com/repos/calblueprint/sage-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/sage-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/sage-mobile/teams","hooks_url":"https://api.github.com/repos/calblueprint/sage-mobile/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/sage-mobile/events","assignees_url":"https://api.github.com/repos/calblueprint/sage-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/sage-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/sage-mobile/tags","blobs_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/sage-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/sage-mobile/languages","stargazers_url":"https://api.github.com/repos/calblueprint/sage-mobile/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/sage-mobile/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/sage-mobile/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/sage-mobile/subscription","commits_url":"https://api.github.com/repos/calblueprint/sage-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/sage-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/sage-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/sage-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/sage-mobile/merges","archive_url":"https://api.github.com/repos/calblueprint/sage-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/sage-mobile/downloads","issues_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/sage-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/sage-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/sage-mobile/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/sage-mobile/releases{/id}","created_at":"2015-09-22T18:19:43Z","updated_at":"2015-10-05T01:56:54Z","pushed_at":"2015-10-22T18:35:36Z","git_url":"git://github.com/calblueprint/sage-mobile.git","ssh_url":"git@github.com:calblueprint/sage-mobile.git","clone_url":"https://github.com/calblueprint/sage-mobile.git","svn_url":"https://github.com/calblueprint/sage-mobile","homepage":null,"size":4544,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"ad13a91005c2d42689a1f21f929cdacc5ea2bcec","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":42952348,"name":"sage-mobile","full_name":"calblueprint/sage-mobile","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/sage-mobile","description":"Mobile repo for SAGE","fork":false,"url":"https://api.github.com/repos/calblueprint/sage-mobile","forks_url":"https://api.github.com/repos/calblueprint/sage-mobile/forks","keys_url":"https://api.github.com/repos/calblueprint/sage-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/sage-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/sage-mobile/teams","hooks_url":"https://api.github.com/repos/calblueprint/sage-mobile/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/sage-mobile/events","assignees_url":"https://api.github.com/repos/calblueprint/sage-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/sage-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/sage-mobile/tags","blobs_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/sage-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/sage-mobile/languages","stargazers_url":"https://api.github.com/repos/calblueprint/sage-mobile/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/sage-mobile/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/sage-mobile/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/sage-mobile/subscription","commits_url":"https://api.github.com/repos/calblueprint/sage-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/sage-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/sage-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/sage-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/sage-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/sage-mobile/merges","archive_url":"https://api.github.com/repos/calblueprint/sage-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/sage-mobile/downloads","issues_url":"https://api.github.com/repos/calblueprint/sage-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/sage-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/sage-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/sage-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/sage-mobile/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/sage-mobile/releases{/id}","created_at":"2015-09-22T18:19:43Z","updated_at":"2015-10-05T01:56:54Z","pushed_at":"2015-10-22T18:35:36Z","git_url":"git://github.com/calblueprint/sage-mobile.git","ssh_url":"git@github.com:calblueprint/sage-mobile.git","clone_url":"https://github.com/calblueprint/sage-mobile.git","svn_url":"https://github.com/calblueprint/sage-mobile","homepage":null,"size":4544,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10"},"html":{"href":"https://github.com/calblueprint/sage-mobile/pull/10"},"issue":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/issues/10"},"comments":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/sage-mobile/statuses/b9c1a47cbec89fac4eb2ca591043061af42939ba"}}}}