finished implementing devise