PHP web application with login functionality