fixed bug with devise current_user