It's better to use lecturer_signed_in? instead of checking current_lecturer to check if a lecturer is signed in.