added extra stuff like logout