added User object and class and made serializable so can use that instead of passing strings everywhere. changed navbar based on if logged in or not