changed links for sidebar so worked when signing_in with a profile already
changed search form