Finish main page,log in and register