Added to models and tests for devise AUTH