Nice! This is basically how programs check passwords.
Make sure that you create logged_in first and then store the result of the password check in it.
logged_in