add signin/out, change default admin value to 0, update using update_attributes