Added more modal functionality. Login data is being stored as cookies and being sent to the server.