PHP code for registration and Login page