implemented simple loginName check
finished and added Tests
Finish check_username