adding login and register components