Loggin/logout and access to write post page