CHANGES MADE TO AJAX CODE TO ALLOW SPECIFICATION OF FUNCTION IN AUTHENTICATE.PHP AND DIV WHERE REPLY WILL BE PLACE.
ALL FUTURE FUNCTIONS CAN SIMPLY BE ADDED TO THE FILE
IN THE LOGGEDIN.PHP FILE, JS ONCLICK PARAMETERS ARE TARGET DIV ID AND TARGET FUNCTION NAME
WHEN FUNCTION IS ADDED TO THE AUTHENTICATE FILE, A SWITCH CASE WILL BE ADDED USING THE SAME FUNCTION NAME