got the login stuff working imporper hashing of passwords and other things whre the cause