fixed not showing browse page, added function which automatically authenticate a user if he was logged in (after refresh the page)