added devise attributes and extraction method