authorization

implement basic authentication in rails 4