I have wifi stability problem in Samsung grand prime phone. I have wifi connection in which login is required after connecting

You need to edit your post and put the main body in the right field, the title cuts off after a number of characters. If you have issues with WiFi, fist step would be to check for an update for the phone and the router firmware and reboot both devices.