Removed example action, added logout button, fixed potential crash