added user functionality with devise