Fix testing issues
Replace has_secure_password with devise for user authentication