added current_user method