finish user and teacher registration and add sign in