updated read_client() function to remove trailing carriage returns and newlines. added get_username() function. started modifying admin_check() function as it was crashing the server when an incorrect password was provided, this is now called from within the get_username() function.