implement front, register & sign_in pages