fix rest messages and urls
profile + logout