new login action with security added; password storage problems solved