fixed parseInt error on two lines, moved logged in from devise out to bootstrap navbar