fixed navbar and worked on sign in logic