log in and start view constrait doen