Fixed unauthenticated user error as a result of the previous commit.