added devise gem,added authorization