use ruby instead php for user authentication (2)