got most of the way there ..for login but not for register... also need to validate bfore login