Add valid to authable See merge request !2
Update register to make it can accept more attrs See merge request !1