Fix name bug
Fix syntax error
Add loggedin for navbar