rails 4.1 compatible
current_user feature