fixed bug with devise and navbar