fixed a bug and started adding the routing calls for the rest password page