added devise, registrations and tests for signing in/out

Do not use block comments.