initializing the frontend action