added devise, registrations and tests for signing in/out

Line is too long. [81/80]