Began with the login functionality in JavaScript/PHP