logout and profile action done