Added devise and test feature to sign user