add ability check to devise registration link to close #911