Added profile edit. Added errors and messages.