Login Partial

Login functionality partially working

Added base64 encode on salts to make the more database friendly