logout and profile and some other stuff