Change Project Structure and finish REST API request for authentication and registration