Added devise implementation