fixed minor use of local variables for user and session, created current_user helper and utalize helper in navbar