Adding in a check for user authentication everytime angular is loaded. This may not be the best method but it's working. Also fixing an oversight with the user pages. Was using the wrong id.