finished registration and added password recovery