Fixed spinner issue
Register teacher