This is the php code for registration and login page which offers the following features: