fixed create method
added code for sign out