Creating a box on Streamlit that allows a user to enter a username and press a button and go

Hey all I was just wondering if Streamlit had any capabilities to create a username box for users to enter their name into and then a box next to it that could serve as a enter

I think this can be developed using text_input, button, and careful state/rendering management.
at the very least:

import streamlit as st 

st.sidebar.subheader("login")
username = st.sidebar.text_input("Username")
button_was_clicked = st.sidebar.button("SUBMIT")

would get you something that looks like this: