half way through login mysql thing